<template>
  <div class="layout">
    <NavTop />
    <el-container class="g-main">
      <router-view></router-view>
    </el-container>
  </div>
</template>

<script>
import NavTop from './navTop.vue'
export default {
  components: {
    NavTop
  }
}
</script>

<style lang="scss" scoped>
.layout {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.g-main {
  width: 100%;
  height: calc(100% - 60px);
}
</style>